export default {
	demoTabClick: function(self, tabIndex) {
		let url = "";
		switch(tabIndex) {
			case 0:
				url = "/frameindex";
				break;
			case 1:
				url = "/components";
				break;
			case 2:
				url = "/notes";
				break;
		}
		self.$router.push({
			path: url
		});
	},
	tabClick: function(self, tabIndex) {
		let url = "";
		switch(tabIndex) {
			case 0:
				url = "/frameindex";
				break;
			case 1:
				url = "/components";
				break;
			case 2:
				url = "/notes";
				break;
		}
		self.$router.push({
			path: url
		});
	}
};